import Vue from 'vue'
import App from './App'

import api from './util/const/api.js'
import {
	request, formatDate
} from './util/index.js'

// Object.keys().forEach(k => Vue.filter(k, filter[k]))
Vue.filter('formatDate', formatDate)

Vue.prototype.$request = request
Vue.prototype.$api = api

Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()
